/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package Beans;

/**
 *
 * @author VIC
 */
public class NgonNgu {
    private int MaNN;
    private String TenNN;
    private String HinhAnh;
    private byte MacDinh;
    public NgonNgu(){
        MaNN = 0;
        TenNN = "";
        HinhAnh = "";
        MacDinh = 0;
    }
    public void setMaNN (int value){
        MaNN = value;
    }
    public int getMaNN(){
        return MaNN;
    }
    public void setTenNN (String value){
        if(value == null)
            value = "";
        TenNN = value;
    }
    public String getTenNN(){
        return TenNN;
    }
    public void setHinhAnh (String value){
        if(value == null)
            value = "";
        HinhAnh = value;
    }
    public String getHinhAnh(){
        return HinhAnh;
    }
    public void setMacDinh (byte value){
        MacDinh = value;
    }
    public byte getMacDinh(){
        return MacDinh;
    }

}
